<?php

//创建控制器

class HomeController extends Controller {
    public function index() {
        $this->render(['message' => 'Welcome to the home page!']);
    }
}